package com.hz.onlineshop.model.entity

open class BaseResponse {
    val code: Int = -1
    val message: String = ""
}

data class ResultData<T>(val data: T?) : BaseResponse()

data class ResultList<T>(val list: MutableList<T>?,val pageNum:Int,val pageSize:Int,val total:Int) : BaseResponse()